Part Number Hot Search : 
42376 TB1100M MP02X130 1375HV 1327M2 D1120 ML62143 SM4T150C
Product Description
Full Text Search
 

To Download MX93032-MI Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 p/n:pm0689 rev. 1.0.3,dec. 13, 1999 mx93032 1.0 general descriptions ? mx93032-m1 is an engine chip on which digital an- swering machine (dam) with full duplex speaker phone is implemented. besides, cas tone detection capa- bility and fsk decoder for caller-id service has also been implemented as well. ? it provides speech processing / management mod- ules, including speech compression/decompression, silence management, telephone line signal process- ing, macronix mx29f16a flash management, line echo cancellation and acoustical echo cancellation, etc. ? the mx93032-m1 has built-in dsp mode and mcu mode. in dsp mode, users do not need external mi- croprocessors and can effectively reduce the overall system cost in dam with full-duplex speakerphone system. in mcu mode, the mx93032-m1 is controlled by an mcu (micro controller) via a 8 bit parallel or serial interface. 2.0 features ? switchable 4.8kbps/12.8kbps speech compression/ decompression algorithm for message recording/play- back. ? minimum 15 or 40 minutes of recording time for one 16m bits mx29f16a flash based on 12.8k or 4.8k compression rate, respectively. ? low (4.8kbps) or high (12.8kbps) compression rate with silence management technique for voice prompt making. voice prompt can be stored in flash memory. ? support total 127 messages, maximum 7 ogms and maximum 8 personal mailboxes. ? dtmf generation and detection with near-end echo cancellation. ? provide single low crystal solution (fll). ? built-in dsp mode and mcu mode. in dsp mode, user can mask the system code into the mx93032- m1. in mcu mode, user can control the mx93032-m1 via mcu (micro controller). ? provide standard sample program written by 8051 assemble for customer development. ? full duplex speakerphone with both acoustical echo canceller (aec) and line echo canceller (lec) ? built-in cas signal detector for monitoring the pres- ence cpe alerting signal in calling identity delivery on call waiting. ? fsk decoder for calling identity delivery on cid type i and cid type ii ? caller id type ii can be turned on under speaker phone mode ? auto detecting mcu mode and dsp mode application note [m1 version]
2 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 3.0 block diagram dsp mode mcu mode display mx93032-m1 commands flash keypad mx93002 daa speaker microphone telephone line display mx93032-m1 commands flash mcu commands keypad mx93002 daa speaker microphone telephone line
3 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 4.0 pin configurations 4.1 mcu mode ead9 ead10 ead11 ead12 ead13 ead14 gnd vdd ead15 nmi\ int1\/sckl philo cdr0 phrd\ cmck cfs cdx0 phwr\ phdb0 phdb1 ed11 ed12 ed13 vdd gnd ed14 ed15 x1\vdd x2\gnd a19 a18 a17 ipt8 fce2\ fce1\ rst\ erom sden\ s data a16 a15 opt9 opt8 opt7 opt6 opt5 opt4 opt3 opt2 opt1 opt0 x32i x32o pack\ cdr1 pdn ipt5 ipt4 ipt3 p/s ipt1 ipt0 vdd gnd si/phdb7 so/phdb6 phdb5 phdb4 phdb3 phdb2 ed10 ed9 ed8 ed7 ed6 ed5 ed4 ed3 ed2 ed1 gnd vdd ed0 hold\ cdx1 edce\ epce\ erd\ ewr\ ead0 ead1 ead2 ead3 ead4 ead5 ead6 fllen\ gnd ead7 ead8 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 mx93032-m1
4 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 4.2 dsp mode ead9 ead10 ead11 ead12 ead13 ead14 gnd vdd fad15 nmi\ int1\ a16 cdr0 a15 cmck cfs cdx0 opt16phdb0 phdb1 ed11 ed12 ed13 vdd gnd ed14 ed15 x1\vdd x2\gnd a19 a18 a17 ipt8 fce2\ fce1\ rst\ erom sden\ s data opt11 opt10 opt9 opt8 opt7 opt6 opt5 opt4 opt3 opt2 opt1 opt0 x32i x32o xf\ cdr1 ipt6 ipt5 ipt4 ipt3 ipt2 ipt1 ipt0 vdd gnd bio7 bio6 bio5 bio4 bio3 bio2 ed10 ed9 ed8 ed7 ed6 ed5 ed4 ed3 ed2 ed1 gnd vdd ed0 hold\ cdx1 edce\ epce\ erd\ ewr\ ead0 ead1 ead2 ead3 ead4 ead5 ead6 fllen\ gnd ead7 ead8 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 mx93032-m1
5 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 5.0 pin descriptions power/clock/control pins : symbol pin type pin number description vdd 23, 43, 69, 84 5v power source gnd 24, 44, 53, 70, 85 ground x1/vdd 88 32.256mhz crystal input/connect to vdd in single low x'tal mode x2/gnd 89 32.256mhz crystal output/connect to gnd in single low x'tal mode rst\ is 96 power-on reset xf\ oa 14 external flag if upmodx=1. this pin can be directly written by one dsp instruction. default inactive (5v output) hold\ is 67 hold dsp clock down and release bus erom is 97 disable internal rom, use external rom only nmi\ is 41 non-maskable interrupt pin int1\ is 40 interrupt pin x32o 13 32.768khz crystal output x32i 12 32.768khz crystal input fllen\ is 54 1 : dual x'tal mode 0 : single low x'tal mode p/s is 20 1:parallel interface in mcu mode 0:seriall interface in mcu mode pdn is 16 0:power down codec interface pins : symbol pin type pin number description cfs oa 35 codec frame sync, 8khz (9.6khz). output low in power down mode. cmck oa 36 codec master clock, 1.536mhz. output low in power down mode. cdx0 oa 34 codec data transmit cdr0 is 38 codec data receive cdx1 oa 66 codec data transmit cdr1 is 15 codec data receive sden\ ob 98 serial data enable(for mxic codec family) sdata ob 99 serial data transmit(for mxic codec family) ipt : input port symbol pin type pin number description ipt4-ipt5, is 18-17,93 input port ipt8 ipt0-ipt3 ish 22-19 input port with internal pull high resistor (r=30kw)
6 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 opt : output port symbol pin type pin number description opt0-opt9 ob 2-11 output to pin, all output values are registered and may be read back when read by "in" instruction. opt10-11 ob 1, 100 output to pin, all output values are registered and may be read back when read by "in" instruction. only available for dsp mode memory interface pins : symbol pin type pin number description ead0-ead15 oa/z 61-55, 52-45, 42 external memory address bus. ed0-ed15 it/oa/zr 68, 71-83, 86-87 e xternal memory data bus. with soft latch feed back current is 250 u a edce\ oa/z 65 external data chip enable epce\ oa/z 64 external program chip enable erd\ oa/z 63 sram/rom/io external read ewr\ oa/z 62 sram/rom/io external write a15 0a 37 (dsp mode) address bus for flash 1 (mcu mode) a16 oa 39 (dsp mode) address bus for flash 100 (mcu mode) a17 oa 92 address bus for flash a18 oa 91 address bus for flash a19 oa 90 address bus for flash fce1\, fce2\ ob 95, 94 flash chip enable u p parallel interface (mcu mode) symbol pin type pin number description phdb0-phdb7 is/oa/z 25-32 par allel data bus philo is/oa/z 39 select high or low byte. 1: high byte , 0: low byte phrd\ is/oa/z 37 host read enable phwr\ is/oa/z 33 host write enable pack\ oa 14 response is ready up serial interface (mcu mode) symbol pin type pin number description sclk is 40 synchronous clock si oa/z 25 host serial data in so is/z 26 host serial data out
7 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 bio: bi-directional i/o (dsp mode) symbol pin type pin number description bio7-bio0 it/oa 25-32 input/output port when upmodx = 1. direction is controlled by bio15-bio8 (see bior). note : it :ttl level input is :cmos level schmidt trigger input (hysteresis : 2v~3v) ish :cmos level schmidt trigger input with internal pull high resistor (~30kw) oa :8ma drive level output ob :16ma drive level output z :high impedance state zr :high impedance state with soft latch multiplex pins: pin number pin name dsp mode pin name mcu mode 25~32 bio(7:0) input/output port phdb(7:0) host data bus 39 a16 flash address philo high low data select 37 a15 flash address phrb\ host read 33 opt16 output port phwr\ host write 14 xf\ external flag pack\ acknowledge to host 100 opt11 output port a16 flash address 1 opt10 output port a15 flash address pin number pin name fllen\=1 (dual x'tal) pin name fllen\=0 (single x'tal) 88 x1 32.256mhz crystal input vdd power vdd 89 x2 32.256mhz crystal output gnd power g round note fllen\: pin 54
8 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 6.0 functional descriptions host interface (mcu mode) the command and response of the mx93032-m1 are made up by a 16-bit code. the protocol that one command sent and one response received must strictly be obeyed by host ; otherwise, dead lock will occur. meanwhile, both parallel interface and serial interface are provided by the mx93032-m1. 8-bit parallel : a 16-bit code can be accessed by host two times via setting philo pin. for writing operation, the host write the low byte of the command into the register of dsp, when philo is pulled to low, dsp does nothing but latches data. following, philo is set to high and high byte of command is written into register, then dsp will perform the command issued by host and send out the response. dsp will pull pack\ to be low to indicate that response is ready. host must read the low byte and then high byte sequentially. pack\ will reset to high when the high byte is read by host. all of the description given above will be illustrated by the following timing chart. philo phdb 0 - 7 phwr\ packb\ phrd\
9 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 synchronous serial : the protocol of synchronous serial interface will be interpreted by the timing chart given below . 16 pulses sclk si tget 16 pulses sclk so tput 0 r15 r14 r1 r0 c15 c14 c1 c0 start 0 ? ? ? ? note: sclk : synchronous clock sent by host, si : host serial in, so : host serial out, tget and tput should be larger than 200 u s
10 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 decision rules between mcu mode and dsp mode: 1. the contents located on 0xe000 and 0xe001 are 0x1234 and 0x5678, it will be considered as external dsp mode. this configuration is used for dev eloping customers control codes on mxics mx93032-m1 ic with standard code. 2. the contents located on 0x680e and 0x680f are 0x5678 and 0xa988, it will be considered as mcu mode. this is the only one configuration for mcu mode under developing and mass production. 3. either the content located on 0x680e and not 0x5678 or that located on 0x680f are not 0xa988, it will be consid- ered as dsp mode. the configuration is used for mass production for dsp mode adopted. 4. the decision priority depends on the items order. that is, the item labeled with smaller number has higher priority. control code configuration (dsp mode) there are two configurations for customer development or production. configuration 1 : in this configuration, the bios+algorithm and control codes are all running in the external high-speed eproms or srams. the mx93032-m1 pin 97 (erom) must be set to high. 26k words 6k words 0000h 6800h 7fffh external high-speed eproms or srams bios+algorithm c (address 0000h - 67 f control code (address 6800h - 7f this configuration is mainly used in the development stage and the access time of high-speed eproms or srams must be less than 30ns.
11 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 configuration 2 : in this configuration, the bios+algorithm code is running in the mx93032-m1 internal rom and the control code running in the external low-speed eproms. the mx93032-m1 pin 97 (erom) must be set to low. 26k words 0000h 6800h 7fffh dsp internal rom bios+algorithm c (address 0000h - 67 f external low-speed eproms 0000h e000h ffffh external voice promp data address 1000h external voice promp program address 80 0 1000h max. 8k words 8000h control code (address e000h - f f this configuration can be used at the development stage or for production. the control code must start with two words 1234h and 5678h.
12 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 configuration 3 : in this configuration, the bios+algorithm and control codes are all running in the mx93032-m1 internal rom. the mx93032-m1 pin 97 (erom) must be set to low. 26k words 6 k words 0000h 6800h 7fffh dsp internal rom bios+algorithm c (address 0000h - 67 f control code (address 6800h - 7f 0000h 8000h ffffh exte rnal lo w- spee d eproms external voice promp data address 1000h external voice promp program address 80 0 1000h this configuration is used for production. to set the voice prompt configuration, see the mx93032-m1 mode 7.
13 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 mx93032-m1 the mx93032-m1 provides dsp embedded functional modules, including speech compression/decompression, telephone line signal processing, rom voice prompt, macronix mx29f16a flash management, time keeping and full duplex speaker phone. in mcu mode, the mx93032-m1 service is requested via a command call with 16 bits parameter sent by micro controller, and answered 16 bits sent by dsp. in dsp mode, user's system control program can be masked-in the mx93032. the mx93032-m1 supports 16 modes of service and responses useful to operational information about tim- ing, flash utilization, detected dtmf, etc. hereafter, host means "external micro-controller" for mcu mode, and it means "system control program" for dsp mode. flash management the mx93032-m1 uses mxic's mx29f16a flash as storage device for message and/or voice prompt data. up to two mx29f16a can be supported by the mx93032- m1 service command. the mx29f16a is a 16m-bit flash memory organized as 1m word x 16. it includes 16 sectors (each sector is 64k words) and some of these sixteen sectors are bad. to manage the mx29f16a, the mx93032-m1 will detect and then give up bad sectors and only utilize the good sectors. for the purpose of storage efficiency, each good sector is further divided into 32 blocks (each block con- tains 2k words). each block can store speech data of about 6.8 seconds for 4.8kbps compression algorithm and 2.55 seconds for 12.8kbps compression algorithm. message recording and storage the mx93032-m1 provides high quality speech compres- sion techniques for recording and playback functions. it can permit over 15 minutes or 40 minutes of speech storage in each 16m bit of mxic's mx29f16a flash device based on 12.8k or 4.8k compression rate, re- spectively. the mx93032-m1 supports up to 127 variable length in- coming and outgoing messages that are labeled as msg id 1 to 127. although icm could range from msg 1 to 127, msg ids 127 to 121 are the only places for outgoing messages (ogm) storage so that the deletion and re- covery of old ogm are easier to maintain. the msg ids of incoming messages are labeled chronologically and rearranged automatically after recording or deleting. icm with msg id 1 is the oldest recorded incoming message. each message can be recorded by either 4.8k or 12.8k compression rate depending on system progr ammers assignment. during recording, the mx93032-m1 also monitors the telephone line signal to detect the presence of dtmf, call progress tone and continuous tone and responses to the control program. the host can stop recording, and delete the last n*400ms/200ms from the memory using a record command with assigned tail cut factor. the mx93032-m1 can generate a desired tone during recording voice message, which allows the application such as two-way recording. during recording, record pause function is provided. the recording voice signal, received through the codec input, is transmitted back to the codec output by the mx93032-m1 service commands. outgoing message (ogm) record the mx93032-m1 provides flexible recording ways for outgoing message. the host can select to delete the old ogm before a new one is recorded or to abort the new ogm record without losing the old ogm. new/old message for the control program to manipulate incoming mes- sages more handily, the mx93032-m1 keeps an internal record of the icm to identify the new/old status of mes- sages. before playback, the status of icm is considered as "new". all incoming messages that have been played could change their status to "old" by issuing real del bit on delete command. after real del is issued, all new/ old icm msg ids will be rearranged. the functions, play new or delete all old messages , are provided by the mx93032-m1 in the command set.
14 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 message playback random access for playback of any new message or message with specified msg id is supported by the mx93032-m1. during playback, the mx93032-m1 also monitors the telephone line signals, and play pause func- tion is provided. the mx93032-m1 is able to fast-forward the playback of a recorded message, and the playing speed will be up to 33 %. message deletion the mx93032-m1 provides two ways to delete recorded icms. one is the two-step method - the combination of del mark and real del on play and delete command, and the other is the immediate method - delete com- mand. the two-step method enables the control program to handle the deletion more flexibly, while the immediate method deletes a specified message directly. voice prompt for high-quality voice prompt playback, the mx93032- m1 utilizes the built-in speech decoder and external eprom/rom or flash to store the vocabulary. the mx93032-m1 also supports up to a 32k-word external eprom/rom that allows minimum 1.8 minutes of voice prompt storage. if voice prompt data is stored in flash, space of maximum 60k words (minimum 3.4 minutes) is permitted. the external (upper part) voice prompt is also allowed. but if flash voice prompt is enabled, the ex- ternal voice prompt will be disabled. the vocabulary sup- ports up to 255 phrases. given a phrase number in the voice prompt command from the host, the mx93032- m1 outputs the corresponding utterances to the codec interface. the starting address of external voice prompt data could be located at data address 1000h, or pro- gram address 8000h. during playback of the voice prompt, the mx93032-m1 monitors the telephone line signals. personal mail the mx93032-m1 supports up to 8 mailboxes that may be used for personal mail application. each mailbox has its own icm/memo msg id. the total msg.id is 127 for all of mailbox. before recording, playing or deleting mes- sages, the host should set the corresponding mailbox number first with personal mail command. time keeping there is a timer clock in the mx93032-m1. the host can issue set time and get time commands to get time services. the clock also supports system to stamp time to the recorded incoming message. dtmf detection for remote control operation of the answering machine, the mx93032-m1 monitors the incoming telephone line signal to detect the presence of dtmf signal. tone generation up to double tones can be generated by the mx93032- m1. the levels and frequencies are programmable by the host. call progress tone detection the mx93032-m1 supports the detection of call progress tone within the band of 300 - 640 hz for the incoming telephone line signal. the tone detector is implemented with a bandpass filter. indication of the presence of call progress tone is responded to the control program, and could be used to terminate recording. near end echo cancellation the mx93032-m1 implements a near end echo cancel- ler in software to enhance the detection of dtmf and call progress tone during playback and voice prompt mode. fsk decoder all of the services, calling number delivery (cnd), call- ing name delivery (cnam) and calling identity delivery on call waiting (cidcw), exploit the frequency shift keying (fsk) method to transmit the desired data from the spcs to cpe. depending on the specific service,
15 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 data transmission may occur with the cpe in an on- hook state or in an off-hook state. the specifications for data transmission are given on sr-tsv-002474 which are classified into three layers, physical layer, data linker layer and message assemble layer. the mx93032-m1 only takes the responsibility to decode physical layer. for data link layer (check sum) and message assemble layer (the meaningful data), system should take care. the performance test associated with physical layer based on sr-3004 will be given on appendix a. note: cpe: custom premises equipment spcs: stored program controlled switching system cas detection for calling identity delivery on call waiting, the mx93032- m1 will monitor the presence of cpe alerting signal ac- cording to the specification given on bellcore special report sr-tsv-002476. vox detection (digital voice activated re- cording) the speech detection is implemented on the mx93032- m1 to indicate whether the recording signal level is above the vox threshold. if the control program sets the vox record bit on initial command, the recording of the speech would start when the voice activity is detected. the host has to set vox threshold by issuing command mode 13. hexadecimal numbers for vox threshold are listed in table 6. speakerphone the speaker system provided by the mx93032-m1 con- tains two adaptive filters which are called as acoustical echo canceller (aec) and line echo canceller (lec). the purpose of aec is used to cancel the acoustical echo between microphone and speaker which is caused by the sound reflection within space. a lec cancels the echo resulted by the 4 to 2 wire telephone line connec- tion and impedance mismatches between customer pre- mises and the central office. when speakerphone is activated, the algorithms associ- ated with aec and lec not only reduce the echo heard on the both ends, but also prevent feedback instability (singing) from occurring. moreover, the mx93032-m1 pro- vides automatic gain control (agc) for microphone chan- nel which helps the outgoing voice to keep at a desired level especially for a moving talker, and speaker volume control which allows the user to adjust the speaker vol- ume for his need. in addition, dtmf/tone generations and call-progress tone detection are also provided.
16 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 daa consideration for speaker phone it should be emphasized that daa circuit plays an important role on improving the performance of speakerphone. this sub section gives some guides on how the daa circuit may be "tuned". a diagram of daa circuit must be given for simplifying the flowing interpretation. referring to figure given above, we have 4 analog amplifiers which are 1.microphone pre-gain (mic gain) 2.line out gain (line drv) 3.line in pre-gain (line gain) 4.speaker amplifier (spk drv) obviously, the 4 amplifiers together with the line out volume, speaker volume, receive attenuator, transmit attenu- ator, two volume compensators, acoustical coupling function hac(f) and line coupling function hlin(f) compose a closed loop system. the aec and lec will provide additional attenuation to the loop gain one they converge. to have a better performance on speaker phone, we strongly recommend that analog gain of daa must satisfy the following two criteria: 1.as the near end (microphone side) speaks only, the level at codec 2 should fulfill that, "codec 2 input must be less than codec 2 output due to electrical echo". this meaning can be expressed as line_drv * hlin(f) * line_gain < 1 2.as the far end (line side) speaks only, the level at codec 1 should fulfill that, "codec 1 output must be greater than codec 1 input resulting from acoustical echo". this meaning can be expressed as spk_drv * hac(f) * mic_gain < 1 by considering the criterion 1, it should pay more attention that minimum echo should be reached by improving the telephone line interface ( that is, reducing hlin(f)) and not by reducing line_gain due to that the mx93032-m1 must obtain the high enough signal to process. for the same reason for criterion 2, the low echo should be achieved by good acoustical and mechanical decoupling rather than by decreasing mic_gain. the ultimate target for hardware design is to create one system which not only satisfies two criteria given above, but also provides a desirable volume to both speaker and telephone. codec1 mx93032-m1 spk drv mic gain acoustic coupling codec2 line gain line drv 4 - 2 wire coupling line coupling
17 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 query and report the mx93032-m1 is capable of reporting to the control program about the query of the current status , such as the number of recorded messages, the number of new messages, the number of old messages, the available recording time of flash, the time of recorded message, and the flash good/bad check. power down with the power of backup batteries, the mx93032-m1 is capable of keeping messages and data stored in the flash during power failure. in power down mode, the mx93032-m1 will run at a lower clock rate to reduce power consump- tion. crystal connection the mx93032-m1 allows two ways of crystal connections : 1. normal approach: use both high crystal (32.256 mhz) and low crystal (32768 hz). to enable this mode, the fllen\ (54) pin must be connected to vdd. in this mode, the dsp high clock is generated from the high crystal directly, and the low crystal is mainly used in power down mode. 2. fll (frequency-locked-loop) approach: use only low crystal (32768 hz). to enable this mode, the fllen\ (54) pin and x2 (89) pin must be connected to ground and the x1 (88) pin to vdd. in this mode, the low crystal is to generate all the dsp system clocks and the high crystal can be saved to reduce the overall system cost.
18 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 7.0 operational descriptions when the system is powered up, the rst\ pulse will make the mx93032-m1 to run programs from address 0. after check sum of internal rom codes checked and some essential initialization of dsp are finished. in mcu mode, the mx93032-m1 is ready to poll the command issued by the host and indicate the host by setting pack\ or si\ to be low. the host should poll the indication sent by the mx93032-m1 and read out the pseudo response first. following some necessary initialization given below must be set by host . 1. set telephone data configuration 2. flash initialization depending on the flash good/bad check 3. codec initialization if necessary 4. setting voice prompt configuration 5. setting silence threshold 6. setting vox level 8.0 modes of operation the mx93032-m1 supports 16 modes of operations, which are listed as follows : command mode mode name 0 idle mode 1 record 2 play 3 message status 4 dtmf generator 5 line monitor 6 delete message 7 set current time/voice prompt/silence threshold 8 get current time 9 initial and test memory 10 get record message information 11 voice prompt 12 speaker phone 13 personal mail 14 telephone data 15 cas detection
19 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 idle : this command is allowable to be issued within any other operation which is processing. as soon as the mx93032-m1 receives idle command, the original operation will be stopped automatically. record when record command is received from the host, the mx93032-m1 performs speech compression, stores the message into flash, and monitors telephone line. if the vox record bit had been set to 1 on initial and test memory command, recording of the speech will start upon the voice activity detected, else the mx93032-m1 starts recording immediately after record command is received. clearing marked record (bit 8-10) to 0, if it is recording icm. when recording ogm, the host should set marked record (bit 8-10) to desired number other than 0 as ogm id. setting bit 5 (annc del) to 1 on initial and test memory command, the host can choose to delete the old ogm before a new one is recorded. if that bit is cleared to 0, the new ogm recording can be aborted without losing the old ogm by issuing mark fail (bit 11) on record command. during recording, the host can pause the recording by setting pause (bit 7) to 1 and resume recording by clearing that bit. line monitoring will continue during pause. the host can stop recording by setting stop (bit 6) to 1, and delete the last n*400ms/200ms from the memory by using a record command with assigned tail cut factor (bit 0-5). while system memory is full, mx93032-m1 will stop message recording, show the status in response word (bit 7, mfull). during record mode, the host can instruct the mx93032-m1 to generate a tone by issuing the dtmf generator command. setting stop bit on dtmf generator command will stop tone generating. the mx93032-m1 will terminate record mode when stop bit on record command is set to 1. note: the mx93032-m1 supports up to 127 incoming and outgoing messages recording which are labeled as msg id 1-127. the msg ids of incoming message are labeled chronologically and rearranged automatically after record- ing. although icm could range from msg id 1 to 127, msg ids 127 to 121 are the only places for outgoing message storage. so, it is strongly suggested that the host should keep an upper bound of the number of icm. (for example, upper bound of icm = 127 - maximum ogm number that will be applied in user's specifica- tion.) play when play command is received from the host, the mx93032-m1 performs message playback and line monitoring. the msg id (bit 0-6) is set by the host to specify which message to play. to playback new message (non-played one), set play new (bit 10) to 1, then the mx93032-m1 will search to play the non-played message with specified msg id. during playing, the host can pause playback by setting pause (bit 8) to 1 and resume playing from the same point by clearing that bit. line monitoring will continue during pause. to fast playback a recorded message, set fast play (bit 11) to 1 and the playing speed will be up to 33%.
20 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 to delete and stop the playing message, the host can set del mark (bit 7) on play command. after being tagged a "del mark" the marked message is not really deleted until a real del (delete message mode bit 8) is set. the real del command not only deletes the messages that have been tagged a "del mark" but also changes the status of those icms that have been played to old. the icms that have not been played before are regarded as "new". after real del is issued, all new/old icm msg ids will be rearranged. for the host, it is used to issue the real del after the user terminates the manner of playback. the response word contains the information of tones detected from the line, playing time spent (bit 8-15) and end of play flag (bit 6), which indicates the end of the current message. when the play end bit is 1, the mx93032-m1 stops playback. the mx93032-m1 will terminate play mode when stop bit or del mark bit is set to 1 on play command. message status in this mode, there are 6 request codes for the host to get message information; 1. get the number of personal recorded messages (request code = 0) 2. get the number of personal new messages (request code = 1) 3. get the number of personal old messages (request code = 2) 4. get the available recording time with unit of second (request code = 3) 5. get the number of total recorded messages (request code = 8) the result will be reported in the response word. dtmf generator in this mode, up to double tones can be generated by the mx93032-m1. the tone levels and frequencies are program- mable and controlled by the host. the dtmf generator command defines the output gains in bit 0-3 for the 1st tone, and bit 4-7 for the 2nd tone. each tone can be programmed from 3 db (gain code 0000) to -25 db (gain code 1110) with 2 db resolution. for dsp mode, the frequencies are defined in the variables buf1 and buf2. for mcu mode, three steps of commands should be issued, first, dtmf sent and signal gain should be set, following the corresponding two frequencies should be specified. the frequency code and its frequency represented is according to the following relationship : frequency code = desired frequency (hz) * 8.19 f(n) = 32767 * cos (2*pi*f_code*n/(8000*8.19)) where f_code is the input frequency code, n is sequence index and 8000 is the sampling rate for single tone, codec outputs the signal s(n) : s(n) = gain * f(n) for dual tone, codec outputs the signal s(n) : s(n) = 0.5 * (gain1*f1(n) + gain2*f2(n)) to generate a single tone, the gain code of the other tone should be set to 1111. the mx93032-m1 starts tone generation only after receiving the start command. the mx93032-m1 will terminate dtmf generator when stop bit is set to 1 on dtmf generator command.
21 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 line monitor in this mode the mx93032-m1 monitors the telephone line signal for the detection of dtmf, call progress tone, vox, and/or continuous tone. the mx93032-m1 keeps monitoring the line until stop bit is set to 1. the mx93032-m1 returns to the host a response word that reflects the flag of call progress tone, vox, continuous tone and the index of dtmf signal that has been detected : index dtmf code index dtmf code cas dtmf cas dtmf 0 0000 no tone 0 1001 9 0 0001 1 0 1010 * 0 0010 2 0 1011 0 0 0011 3 0 1100 # 0 0100 4 0 1101 a 0 0101 5 0 1110 b 0 0110 6 0 1111 c 0 0111 7 1 1111 d 0 1000 8 1 0000 cas tone the mx93032-m1 will terminate line monitor mode when stop bit is set to 1 on line monitor command. delete message this mode provides an immediate way to delete messages as follows; 1. to delete a specified message, set its msg id in bit 0-6 and clear bit 11, 10 and 7 to zero. 2. to delete a specified new icm, set del new msg (bit 10) to 1, give the new msg id in bit 0-6, clear bit 11, 7 to zero. 3. to delete all old icm, set del all old (bit 7) to 1 and clear bit 11, 10 to zero. (bit 0-6 is ignored) 4. to erase the "del mark" from a specified icm ("del mark" is a tag set on play command for deletion), set del mark clr (bit 11) to 1, give the msg id in bit 0-6 and clear bit 7 to zero. set current time/voice prompt/silence threshold in this mode the host can set the current time to the timer clock of the mx93032-m1. the time information includes second, minute, hour and week. the timer in the mx93032-m1 will be used to stamp time and data to the recorded message. 1. to set second, put the data in bit 0-7 and use request code (bit 8-11) 0000. 2. to set minute, put the data in bit 0-7 and use request code (bit 8-11) 0001. 3. to set hour, put the data in bit 0-7 and use request code (bit 8-11) 0010. 4. to set week, put the data in bit 0-7 and use request code (bit 8-11) 0011. 5. to set voice prompt configuration, put the selection data in bit 0-1 and use request code (bit 8-11) 0110. 6. to set silence threshold level, put the data in bit 0-3 and use request code (bit 8-11) 0111. 7. to set output port opt0-7, put data in bit0-7(request code=0100) 8. to set codec mx93002 registers in bit10-8 and put data in bit0-7(request code=1xxx) 9. to write link index and data in bit0-7(request code=0101), refer to mode10 to specify msg. id.
22 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 get current time in this mode the host can get the current time from the timer clock of the mx93032-m1. the time information includes second, minute, hour and week. 1. to get second, use request code (bit 8-11) 0000. 2. to get minute, use request code (bit 8-11) 0001. 3. to get hour, use request code (bit 8-11) 0010. 4. to get week, use request code (bit 8-11) 0011. the requested data will be reported in the response word. initial and test memory in this mode there are 9 functions for the control program to define; 1. flash re-initialization the host can re-initialize the flash by setting flash re-init (bit 0) to 1. after receiving this command, the mx93032-m1 will erase all the messages and data stored in the flash and then re-format the flash to establish the management structure. the response word reported to the control program contains the information of flash bit size (bit 0-3) , flash address size (bit 4-7), flash good/bad status (bit 8) and flash good rate (bit 9-15). after re- initialization, all messages and data in the flash are lost. 2. flash initialization or error correction the host can perform flash first-time initialization or error correction by setting flash init (bit 1) to 1. first-time initialization is to format a new flash and then establish the management structure, while error correction is to correct the problems that may result from power loss during operation. this function is normally used after first power- up of the system. the response word reported to the control program contains the information of flash bit size (bit 0-3) , flash address size (bit 4-7), flash good/bad status (bit 8) and flash good rate (bit 9-15). 3. flash garbage collection due to the characteristics of mx29f16a flash and the management structure, when messages are deleted, the data regions occupied by them will not be released to be available immediately. to free out such regions, the mx93032- m1 provides a two-step mechanism. first is to check the flash garbage collection recommendation status by message status command and, if garbage collection is recommended, then to issue bit 2 (garbage collect) on this command to perform the corresponding garbage collection actions. 4. line on/off the host should set line on/off (bit 3) to 1 if the system is logged in from telephone line, and clear that bit to 0 if in local keypad operation. failing to set this bit properly will degrade the performance of echo cancellation. 5. vox on/off record if the host turns on the vox record function (by setting bit 4 to 1) on this command, speech recording will start upon the voice activity detected, else recording will start immediately after record command is issued.
23 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 6. ogm deletion by setting bit 5 (annc del) to 1 on this command, the host can choose to delete the old ogm before recording a new one. if that bit is cleared to 0, the old ogm is not deleted until the new ogm recording is completed. with this option, the new ogm recording can be aborted without losing the old ogm by issuing mark fail (bit 11) on record command. 7. new/old select by setting new/old select (bit 6), the host can decide which condition a new message will be changed to an old one. there are two options. when this bit is set to 1, the new message that has been played (even not played end) is regarded as an old message. if this bit is cleared to 0, the new message that has been played end is regarded as an old one. 8. tail cut unit by setting tail cut unit (bit 7) to 1, the host can choose the tail cut unit length to be 200 ms. if this bit is cleared to 0, the unit length is 400 ms. 9. old mark set by setting old mark set (bit 8) to 1, the host can disable that new messages change to be old ones even though they have been played (end). if this bit is cleared to 0, new to old change will be enabled and the change criterion is according to the setting of new/old select bit (bit 6). get record message information in this mode, there are 10 request codes for the control program to get the related information about a specified message. given the msg id (bit 0-6) and new msg flag (bit 7), the mx93032-m1 can provide message recording time, recording length, attribute and "del mark" status according to the request code (bit 8-11) as follows : 1. get the recording time - second. (request code = 0000) 2. get the recording time - minute. (request code = 0001) 3. get the recording time - hour. (request code = 0010) 4. get the recording time - week. (request code = 0011) 5. get the recording length (sec.). (request code = 0100) 6. get the timer status. (request code = 0101). the response word is 1 if the mx93032-m1 timer has been set before with set current time command. otherwise, the response word is 0. 7. get the message icm/memo attribute. (request code = 0110). to show the specified message is of memo type (response word = 1) or icm type (response word = 0). 8. get the del mark status (request code = 0111). to check if the specified message has been tagged a del mark (response word = 1) or not (response word = 0). 9. get the message new/old status. (request code = 1000). to check if the specified message has been tagged an old mark (response word = 1) or not (response word = 0). a new message will be tagged an old mark when it has been played/played end and changes to old messages as real del command is issued. 10.get the ogm existing status (request code = 1111). to check if the specified ogm exists (response word = 1) or not (response word = 0). msg id could only range from 127 to 121. 11.to get link index data(request code=1001),refer to mode7 12.to set the msg. id for reading/writing link-index-data.(request code=1010) all the results are reported in the response word.
24 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 voice prompt in this mode the mx93032-m1 plays back a speech segment that the corresponding phrase number is given in command bit 0-7. up to 255 speech segments, previously stored in voice prompt rom or flash memory, are provided by the mx93032-m1 and pronounced using the speech decompression algorithm. the host can pause the playback by setting pause (bit 8) to 1 or resume from pause by clearing pause bit to 0. fast forward playback of voice prompt is also provided by setting fast play (bit 11) to 1. during voice prompt mode, the mx93032-m1 keeps monitoring the line signal and sends the results in response word to the control program. the mx93032-m1 will terminate voice prompt mode when stop bit is set to 1 on voice prompt command. speakerphone regarding to speakerphone related function is comprised of three types which are parameter setting, dtmf/tone generation and free run. two codecs are necessary for speakerphone operation. one codec labeled as codec 1 is used for microphone and speaker, and the other labeled as codec 2 is used for telephone line input and output. in this mode, there are seven functions whose detail will be given as follows: 1. free run which performs both filtering operation and updating operation on lec and aec one time for each codec interrupt triggered (request code = 0x0000) 2. setting the gain for dtmf/tone generation (request code = 0x0001) 3. generating dtmf/tone according to pre-defined table (request code = 0x0010) 4. setting both the echo return-loss on speaker side (erl_aec) and echo return loss on line side (erl_lec) (request code = 0x0100) 5. the t/r and r/t ratio are used to decide which side is speaking by comparing the transmitting and receiving energy.(request code=0x0110) 6. set the volume gains to control the speaker out and line out signal levels(request code=0x1000) 7. the loop attenuation is to control the total receive and transmit attenuators (request code = 0x1001) 8. setting the tone table which require 3 steps : index set, freq_lo set and freq_hi set. personal mail five functions are provided in this command as follows : 1. set the personal mailbox number in this mode the host can select one out of eight mailboxes (setting in bit 0-2) for recording messages, playing recorded messages and retrieving message time. each mailbox manages its own messages and msg ids. make sure to set the desired mailbox before issuing the message related commands such as record, play, delete message and get record message information. 2. set the recording message attribute before recording a message, the host can set the attribute of that message to be memo or icm. clear bit 3 to zero for recording a message as an icm or set bit 3 to one for recording a message as a memo. 3. set the digital loop back control the host can enable or disable the dsp digital loop back path in record or line monitor operation. by setting loop back bit to 1, the loop back path is disabled and the signal received from the codec input will not be transmitted back
25 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 to the codec output. when this bit is cleared to 0, loop back is enabled and the received signal will be transmitted back to the codec output. the default status is the latter. 4. set the output level the host can set the level difference between the output (playback) speech and the corresponding input (recorded- in) speech. by setting the output level bit to 1, the output speech level is equal to the input speech level, and clearing this bit to 0, the output speech level is about 5db less than the input speech level. the default status is the latter. 5. set the codec data format the host can select one of two codec data formats by setting the codec format bit. when codec format is cleared to 0, 8-bit m-law data format is selected, and set to 1, 16-bit linear data format is enabled. at present, mxics codec family provide both m-law and linear formats, and the latter is suggested because of the better speech quality. the default format is 8-bit m-law. 6. set voice activity in this mode the host can set the vox threshold in bit 0-11. the hexadecimal numbers for vox level are listed in table 6. 7. set telephone data configuration this command should be issued before aflash initialization. cas detection the mx93032-m1 provides 2 output modes for cas detection, which are continuous response and one time re- sponse. for continuous response, the mx93032-m1 will respond cas detected after 45 5ms since cas occurs in cpe. regarding to response one time, the information of cas detected will be responded after both the cas is disappeared on the line and the duration for cas appearance between 45ms to 95 ms. fsk detection the output of fsk detector can be divided into two mode which are raw data mode and cooked data buffer. the buffer length for raw data mode and cooked data mode are 8 bytes and 60 bytes long, respectively. for raw data mode, the data ready bit will be set on one bytes data ,in which start bit and stop bit are not included, received correctly. if the hosts speed can not catch up the fsk baudrate, buffer overflow will occur. therefore, when the serial interface is adopted, we do not recommend to select raw data mode to receive fsk data. cooked data mode concerned, the data ready bit will be set after all of the data, in which checksum is included, received. during the operation for cooked data mode, the second data byte following the mark data will be considered as the total data length, the other data will not be recognized by mx93032-m1. linkage between cid data and voice message 1. set the link index which can be also considered as cid data number (request code = 0x7500 | link index) 2. get the link index (request code = 0xa900 | msg_no) 3. write the link index specified by 0x7500 into message (request code = 0xaa00 | msg_no)
26 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 telephone data in this mode the host can write/read telephone or user-assigned data to/from the flash with the sequence of telephone data command as follows : 1. write telephone data the first command defines the telephone record id (bit 0-7) and set bit 11, 10 to 0, 0. following command specifies the one-byte data to be stored under that id. while the current record id is full, the mx93032-m1 bios will show the status in response word (bit 0, full). the mx93032-m1 bios will terminate telephone data mode when stop (bit 9) is set to 1 on telephone data com- mand. 2. read telephone data the first command defines the telephone record id (bit 0-7) and set bit 11, 10 to 0, 1. the telephone data will be put on the response word. following command puts the one-byte data on the response word to the control program. the response word contains the byte-data (bit 0-7) and read end (bit 8). when the read end bit is 1, the byte-data is invalid. the mx93032-m1 bios will terminate telephone data mode when stop (bit 9) is set to 1 on telephone data com- mand. if host want to write/read more than 2 tel. record ids at the same time, before writing/reading an new tel. id, host should set stop bit to 1 for the current tel. id.
27 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 9.0 command format and protocal mode 0. idle mode (15-12) 0000 conf 00000000000 0000000000000000 0000000000000000 stop (11-1) 0 (15-12) resp (11-1) 0 mode 1. record mode (15-12) (11) (10-8) (7) (6) 0001 mark fail marked record pause stop conf tail cut (5-0) tail cut : 0 ~ 63 units. one unit length can be 400ms or 200ms (set by mode 9). stop = 1 : stop recording. pause = 0 : continue recording. = 1 : pause recording. marked record = 000 : record a general message. = 001 : record ogm1 and store it in message 127. = 010 : record ogm2 and store it in message 126. = 011 : record ogm3 and store it in message 125. = 100 : record ogm4 and store it in message 124. = 101 : record ogm5 and store it in message 123. = 110 : record ogm6 and store it in message 122. = 111 : record ogm7 and store it in message 121. mark fail =1 : give up and stop recording of the new ogmx and recover the original ogmx. if mode 9 annc del=1, this bit will be ignored. when marked record = 000, do not set this bit.
28 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 (15-9) (8) (7) (5) (6) (4) record time (sec) cas mfull vox tone cont tone resp dtmf (3-0) dtmf : the detected dtmf value during recording. cont tone = 1 : continuous tone is found. tone = 1 : call progress tone is found. vox = 1 : the input speech power level is under the vox level (set by mode 12). mfull = 1 : aram is full and no further recording is possible. in this case, one more stop command is needed to completely stop the recording action. record time : recording time until now, 0 ~ 127 sec. cas : cas detection for cidcw (detail see mode 15 ) if cas tone and dtmf d are existed at the same system, the host should check if bit8(cas) == 1 and bit3-0(dtmf) =0000, and then that's a real cas tone. refer to the following table. dtmf reference table: index dtmf code index dtmf code cas dtmf cas dtmf 0 0000 no tone 0 1001 9 0 0001 1 0 1010 * 0 0010 2 0 1011 0 0 0011 3 0 1100 # 0 0100 4 0 1101 a 0 0101 5 0 1110 b 0 0110 6 0 1111 c 0 0111 7 1 1111 d 0 1000 8 1 0000 cas tone
29 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 mode 2. play mode (15-12) (11) (10) (9) (8) (7) 0010 fast play play new pause stop stop conf msg id (6-0) (15-9) (8) (7) (5) (6) (4) play time (sec) cas 0 play end tone 0 resp dtmf (3-0) msg id = 1 ~ 127 can be assigned for playing. del mark = 1 : stop playing and mark the current message with a "del mark". this message will not be deleted until the mode 6 real del command is done. pause = 0 : continue playing. = 1 : pause playing. stop = 1 : stop playing. play new = 0 : the msg id is related to total messages. = 1 : the msg id is related to new messages. fast play = 0 : normal play speed. = 1 : play speed will be up to 33%. dtmf and tone : see record mode. play end = 1 : the current message is played end. play time : playing time until now, 0 ~ 239 sec. cas : cas detection for cidcw (detail see mode 15 and mode1) mode 3. message status mode (15-12) 0011 conf 00000000000 data request code (11-4) (15-0) (3-0) resp request code: request code status data 0000 number of personal total messages 0 ~ 127 0001 number of personal new messages 0 ~ 127 0010 number of personal old messages 0 ~ 127 0011 available time 0 ~ 65535 0101 garbage collection recommendation 0 or 1 1000 number of total messages 0 ~ 127
30 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 mode 4. dtmf generator mode for dsp mode: gain1, gain2 : 0 ~ 14 denote 3db ~ -25db (2db/one step), 15 denotes no related signal. to =0 output channel codec 0. =1 output channel codec1. stop = 1 : stop the dtmf generation. start = 1 : start the dtmf generation. when this bit is set, gain1 and gain2 must be also set and frequency 1 is put in buf1 (data address 7) and frequency 2 in buf2 (data address 8). 16-bit frequency = target frequency * 8.192 note : for single-tone signals (gain1 = 15 or gain2 = 15), the output level is according to gain1 or gain2. but for dual- tone signals, the output level is equal to half of sum of two individual signals. doing this can avoid saturation of output signals. (15-12) (11) (10) 9 8 (7-4) 0100 start stop 0 gain2 to conf gain1 (3-0) 0000000000000000 (15-0) resp for mcu mode: (15-12) (11) (10) 9 8 (7-4) 0100 start stop 0 gain2 to conf gain1 (3-0) gain1, gain2 : 0 ~ 14 denote 3db ~ -25db (2db/one step), 15 denotes no related signal. to =0 output channel codec 0. =1 output channel codec1. stop = 1 : stop the dtmf generation. start = 1 : start the dtmf generation. when this bit is set, gain1 and gain2 must be also set and frequency 1 and frequency 2 is put in the following command. 16-bit frequency = target frequency * 8.192 note : for single-tone signals (gain1=15 or gain2=15), the output level is according to gain1 or gain2. but for dual-tone signals, the output level is equal to half of sum of two individual signals. doing this can avoid saturation of output signals.
31 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 frequency 1 (15-0) conf (15-0) resp 0000000000000000 0000000000000000 frequency 2 (15-0) conf (15-0) resp 0000000000000000 (15-0) resp (15-12) (11-8) (7) (6-1) 0101 0000 pause 000000 conf stop (0) (15-9) (8) (7) (6) (5) (4) 0000000 0 cas vox cont tone tone resp dtmf (3-0) mode 5. line monitor mode stop = 0 : start and continue the line monitor mode. = 1 : stop the line monitor mode. dtmf, cont tone, tone, pause, vox and cas: see record mode.
32 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 mode 6. delete message mode msg id : 1 ~ 127. del all old = 1 : delete all old messages. (in this case, the msg id field is ignored) real del = 1 : delete the messages that have "del mark" and change the new messages that have been played to be old messages. (in this case, the msg id filed is ignored) del new msg = 0 : the msg id is related to total messages. = 1 : the msg id is related to new messages. del mark clr= 1 : clear the message "del mark" (set by mode 2 del mark=1). (15-12) (11) (10) (9) (8) (7) 0110 del mark clr del new msg del all old real del 0 conf msg id (6-0) (15-12) 0110 resp 000000000000 (11-0) mode 7. set current time/voice prompt/silence threshold mode (15-12) 0111 resp 000000000000 (11-0) (15-12) 0110 conf request code data (11-8) (7-0) request code: time request code data second 0000 0 ~ 59 minute 0001 0 ~ 59 hour 0010 0 ~ 23 week 0011 0 ~ 6 set output port 0100 00 ~ ff h set link index 0101 00 ~ ff h voice prompt config 0110 0 ~ 7 silence threshold 0111 0 ~ f h send mx93002 cmd 93993000(a) cmd 1xxx 00 ~ ff h
33 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 request code = 0110 (set voice prompt configuration), (15-12) 0110 conf 0110 00000 fvop select evop select ivop select (11-8) (7-3) (2) (1) (0) ivop select (internal voice prompt setting), = 0 : internal voice prompt not selected. = 1 : internal voice prompt selected and test. evop select (external voice prompt setting), = 0 : external voice prompt not selected. = 1 : external voice prompt selected and test. fvop select (flash voice prompt setting), = 0 : flash voice prompt not selected. = 1 : flash voice prompt selected and test. (15-5) 00000000000 resp evop addr evop status ivop status (4) (3) (2) (1) (0) evop unit fvop status ivop status (internal voice prompt test status), = 0 : test fail. = 1 : test ok. evop status (external voice prompt test status), = 0 : test fail. = 1 : test ok. fvop status (flash voice prompt test status), = 0 : test fail. = 1 : test ok. (when evop status = 1), evop addr = 0 : external voice prompt at data space 1000h. = 1 : external voice prompt at program space 8000h. evop unit = 0 : external voice prompt in byte unit. = 1 : external voice prompt in word unit. request code = 0111 (set silence threshold level - used by the silence management algorithm), (15-12) (11-8) (7-4) (3-0) 0111 0111 0000 silence level conf (15-0) 0000000000000000 resp silence level : 0 ~ 15, the larger the level is, the more speech will be recognized as silence. 0 denotes no silence management. please refer to table 7 for silence threshold level.
34 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 mode 8. get current time mode request code, 0000 ~ 0011 : see mode 7. mode 9. initial and test memory mode (15-12) (11-8) (7-0) 1000 request code 00000000 conf (15-0) data resp (15-12) (11-9) (8) (7) (6) (5) (4) (3) (2) (1) (0) 1001 000 old mark set tail cut unit new/ old select annc del vox on/off record line on/ off garbage collect flash init flash re-init conf flash re-init = 1 : re-initialize the flash. the information of flash size and flash good rate will be responded in resp. (before this command is issued, tel. data config., bios mode 13 sub-mode 3, should be set properly.) flash init = 1 : do flash first-time initialization or error correction after power loss. the information of flash size and flash good rate will be responded in resp. (before this command is issued, tel. data config., bios mode 13 sub-mode 3, should be set properly.) garbage collect = 1 : perform flash garbage collection. after garbage collection, more deleted (but not released) data regions will be free out for further use. line on/off = 0 : not in remote line operation. = 1 : in remote line operation. vox on/off record = 0 : record the starting silence. = 1 : not record the starting silence which power level is under vox level. annc del = 0 : delete the old ogmx after the new ogmx is recorded. = 1 : delete the old ogmx before the new ogmx is recorded. new/old select (set the judgment point of message new/old attributes) = 0 : one message that had been played end is viewed as an old message. = 1 : one message that has been played (even not played end) is viewed as an old message. tail cut unit (set the tail cut unit) = 0 : the tail cut unit is 400 ms. = 1 : the tail cut unit is 200 ms. old mark set= 0 : enable setting old mark. = 1 : disable setting old mark. new messages will not change to be old even they have been played (end). in this case, new/old select will be ignored.
35 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 (15-9) (8) (7-4) (3-0) flash addr size flash bit size flash good rate flash g/b resp flash bit size : the detected flash data bit number in one address access. flash addr size : the detected flash address space. flash g/b (a conclusion of flash initialization or error correction), = 0 : flash is bad. = 1 : flash is good. flash good rate : 0 ~ 100 %. it is significant when flash g/b = 1. code flash addr size code flash bit size 0000 0 m 0000 0 0101 1 m 1111 16 0110 2 m mode 10. get record message information mode (15-12) (11-8) (7) (6-0) new msg msg id 1010 request code conf msg id : 1 ~ 127. new msg = 0 : the msg id is related to total messages. = 1 : the msg id is related to new messages. information request code data second 0000 0000 ~ 003bh minute 0001 0000 ~ 003bh hour 0010 0000 ~ 0017h week 0011 0000 ~ 0006h record length 0100 bit 15 - bit 0 timer status 0101 0 = default timer ; 1 = timer has set icm/memo 0110 0 = icm record ; 1 = memo record del mark status 0111 0 = no del mark ; 1 = has del mark msg new/old status 1000 0 = no old mark ; 1 = has old mark get link index 1001 00~ffh write link index (specified by 75xx) 1010 msg id=1~127 ogm existing status 1111 0 = ogm not exist ; 1 = ogm exist (15-0) data resp
36 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 mode 11. voice prompt mode (15-12) (11) (10) (9) (8) 1011 fast play pause stop 0 conf phrase number (7-0) (15-9) (8) (7) (6) (5) (4) play time(sec) cas play end tone 0 0 resp dtmf (3-0) phrase number : 1 ~ 255. pause, stop and fast play : see play mode. dtmf, tone, play end cas and play time : see play mode. mode 12. speakerphone mode (15-12) (11-8) (7-0) 1100 request code parameters conf request code function 0000 f ree run 0001 gain setting for tone 0010 generate tone 0011 reserved 0100 set erl 0101 reserved 0110 set t/r & r/t ratios 0111 set tone table * 1000 set speaker volume & line out gain 1001 set loop attenuation 1111 read internal parameter (reserved) others reserved * : not available
37 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 request code = 0000 (free run) (15-12) (11-8) (4-0) (5) (6) (7) 1100 0000 stop line mute spk mute 00000 conf stop = 0 : turn on speakerphone = 1 : turn off speaker phone line mute = 1 : mute line out = 0 : normal line out spk mute = 1 : mute loudspeaker = 0 : normal speaker out (15-9) (2-0) (4-3) (7-6) (8) (5) 0000000 cas 00 00 tone loop attenuation resp tone = 1 : call progress tone is detected loop attenuation : see set loop attenuation cas : cas detection (see mode 15) request code = 0001 (set gain for tone) (15-3) (2-0) 0000000000000 loop attenuation resp (15-12) (11-8) (7-4) (3-0) 1100 0001 gain-lo, gain-hi:0~14 denote 0db~-14db; 15 denotes mute gain-lo gain-hi conf gain table: gain 01234567 db 0db -1db -2db -3db -4db -5db -6db -7db gain 8 9 a b c d e f db -8db -9db -10db -11db -12db -13db -14db mute
38 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 request code = 0010 (send dtmf or single tone) start = 1 : start to generate tone according to the index assigned = 0 : stop generating tone d or s = 0 : generate single tone (this bit is valid under bit 4 set) = 1 : generate dual tone (15-12) (4-0) (7) (6) (5) (11-8) 1100 0010 start 0 d s index conf (15-9) (8) (7-3) (2-0) 0000000 cas 00000 loop attenuation resp index table: index value tone index value tone 00000 dtmf_0 10000 00001 dtmf_1 10001 00010 dtmf_2 10010 00011 dtmf_3 10011 00100 dtmf_4 10100 00101 dtmf_5 10101 00110 dtmf_6 10110 00111 dtmf_7 10111 01000 dtmf_8 11000 01001 dtmf_9 11001 01010 dtmf_* 11010 01011 dtmf_# 11011 01100 dtmf_a 11100 01101 dtmf_b 11101 01110 dtmf_c 11110 01111 dtmf_d 11111 note : 1. the tone frequency whose index is specified form 10000 to 11111 can be stored into the rom space with starting address specified by the label "tone_tab". at the same time, the label "tone_tab" should be declared as global. 2. the legal index values for dual tone are just from 10000 to 10111. for dual tone mode, it will catch the frequency specified by both the index and index+8.
39 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 request code = 0100 (set erl) (15-3) (2-0) 0000000000000 loop attenuation resp (15-12) (11-8) (7-4) (3-0) 1100 0100 erl_ace:echo return loss occurred on speaker side erl_lec:echo return loss occurred on line side erl_aec erl_lec conf erl_aec & erl_lec : range from 0 to 30 with 2 db/step 0000 00001 0010 0011 0100 0101 0110 0111 0 db 2 db 4 db 6 db 8 db 10 db 12 db 14 db 1000 1001 1010 1011 1100 1101 1110 1111 16 db 18 db 20 db 22 db 24 db 26 db 28 db 30 db note: the default value of erl_lec and erl_aec are 0 db. request code = 0110 (set t/r & r/t ratio) (15-3) (2-0) 0000000000000 loop attenuation resp (15-12) (11-8) (5-3) (7-6) (2-0) 1100 0110 00 r/t ratio t/r ratio conf t/r & r/t ratio 000 001 010 011 100 101 110 111 3 db 6 db 9 db 12 db 15 db reserved reserved reserved note : 12 db is default value
40 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 request code = 0111 (set tone table) (15-0) 0000000000000000 resp (15-0) 0000000000000000 resp (15-12) (11-8) (7-4) (3-0) 1100 index: range is from 0 to 15 (see request code=0010) 0110 0000 index conf (15-12) (11-8) (7-0) 1100 0111 freq_lo conf (15-0) 0000000000000000 freq_hi and freq_lo will compose a 16-bit frequency, which is equal to "target frequency *8.192". resp (15-12) (11-8) (7-0) 1100 0111 freq_lo conf request code = 1000 (set spk_gain & line _gain) (15-3) 0000000000000 resp (15-12) (11-8) (7-4) (3-0) (2-0) 1100 line_gain:line out volume gain spk_gain:speaker out volume gain 1000 line_gain spk_gain loop attenuation conf spk_gain & line_gain : range from -20 to 20 0000 00001 0010 0011 0100 0101 0110 0111 -20db -16 db -12 db -8 db -4 db 0 db 2 db 4 db 1000 1001 1010 1011 1100 1101 1110 1111 6 db 8 db 10 db 12 db 14 db 16 db 18 db 20 db
41 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 request code = 1001 (set loop attenuation) (15-3) 0000000000000 resp (15-12) (11-8) (7-3) (2-0) (2-0) 1100 1001 00000 loop attenuation loop attenuation conf loop attenuation (conf) : range from 0 to 28 with 4db/step 000 001 010 011 100 101 110 111 0.db 4 db 8 db 12 db 16 db 20 db 24 db 28 db full duplex smooth note:8db is default value half duplex loop attenuation (resp) : 000 001 010 011 100 101 110 111 0.db 4 db 8 db 12 db 16 db 20 db 24 db >28 db request code = 1111 (read internal parameters) (15-0) resp (15-12) (11-8) (7-0) 1100 1111 parameter type parameter conf parameter type description 00000000 aec_snr1 00000001 lec_snr1 00000010 aec_state 00000011 lec_state 00000100 aec_aerle 00000101 lec_aerle 00000110 a cc_att 00000111 lec_att 00001000 tr_mode
42 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 read codec register (reference 93002) (15-0) resp (15-12) (11-8) (7) (6-0) 1100 1111 1 parameter type parameter conf codec register description 0000000 register 0 0000001 register 1 0000010 register 2 0000011 register 3 0000100 register 4 0000101 register 5 0000110 register 6 0000111 register 7 mode 13. personal mail mode (15-12) (11-8) (7-5) (3) (4) (2-0) 1101 0000 000 loop back memo /icm personal mail conf personal mail : 0 ~ 7, total 8 personal mailboxes. the msg ids of play mode, delete message mode and get record message information mode are all limited to the personal mailbox specified by this command. memo/icm = 0 : set the attribute of the recorded message to be icm. = 1 : set the attribute of the recorded message to be memo. loop back = 0 : enable loop back. = 1 : disable loop back. then in record and line monitor modes, the codec-in data will not be put on the codec-out path. (15-0) resp 000000000000000
43 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 set some status, (15-12) (11-8) (6) (7) (3) (5-3) (2) (0) 1101 0001 cas spk 0 compress format silence rate output level codec format conf output level (set the relation of the output speech level and the corresponding input speech level) = 0 : the output level is 5db less than the input level (default setting). = 1 : the output level (playback) is equal to the input level (recording). codec format (set the codec data format) = 0 : 8-bit m-law data format is selected. = 1 : 16-bit linear data format is selected. (note: macronix mx93000 codec family provide this mode.) silence rate (set the silence storage rate, it is significant only when compress format = 000) = 0 : silence storage rate is 0.8kbps. (default setting) = 1 : silence storage rate is 4.8kbps. compress format (select the speech compression algorithm for message recording) = 000 : celp 4.8kbps with silence compression. = 001 : celp 12.8kbps with silence suppression. = 010 - 111 : reserved. cas spk = 0 : turn off detecting cas within speaker phone = 1 : turn on detecting cas within speaker phone set telephone data configuration, (15-12) (11-8) (7-5) (4-2) (0) (1) 1101 0011 000 tel record number 01 conf tel record number : set the number of total telephone data records, = 000 : 0 record (default setting). = 001 : 63 records. = 010 : 126 records. = 011 : 189 records. = 100 : 252 records. (15-0) resp 000000000000000 (15-0) resp 000000000000000
44 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 voice activity mode, (15-12) (11-8) (7-6) (5-0) 1101 0111 00 vox level conf vox level : see table 6. mode 14. telephone data mode write telephone data (15-12) (11-10) (9) (8) (7-0) 1110 tel record id:1~255, each telephone record has maximum 60 bytes. stop =1:stop telephone data writing. full=1: no free telephone record is available. 00 stop 0 tel record id conf (c1) (15-12) (11-10) (0) (9-1) 1110 00 000000000 full resp (r1) (15-12) (11-10) (9) (8) (7-0) 1110 data : the telephone data to write. stop =1:stop telephone data writing. full =1:current telephone record is full. 00 stop 0 data conf (c2) (15-12) (11-10) (0) (9-1) 1110 00 000000000 full resp (r2) (15-0) resp 000000000000000
45 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 read telephone data (15-12) (11-10) (9) (8) (7-0) 1110 01 stop 0 tel record id conf tel record id : 1 ~ 255. stop = 1 : stop telephone data reading. (15-12) (11-10) (9) (8) (7-0) 1110 00 0 read end data resp data : the read out telephone data. read end = 1 : end of the current telephone record and the followed data is invalid. mode 15. caller _id mode (15-12) (11-9) (8-0) 1111 request code parameter conf request code function 000 demodulate fsk 100 set response method of cas detected 101 set cas sensitivity 001 ack dtmf a 010 ack dtmf d request code = 000 (demodulate fsk to raw data) (15-12) (11-8) (8) (7-2) (0) (1) 1111 000 0 000000 type start\ conf type = 0 : cid type i 200 bits channel seizure & 10 bits mark signal = 1 : cid type ii 10 bits mark signal start\ = 0 : start / continue to demodulate = 1 : stop demodulating
46 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 (15) (14) (13) (12-8) (7-0) cd err dr 00000 fsk data byte resp cd = 0 : carrier is not detected (fsk signal do not occur on line) = 1 : carrier is detected (fsk signal takes place on line) err = 0 : data buffer is not overflow = 1 : data buffer is overflow dr = 0 : fsk data byte is not ready = 1 : fsk data byte is ready note : the length for raw data buffer is 8 bytes long. request code = 000 (demodulate fsk to cooked data) (15-12) (11-8) (8) (7-2) (0) (1) 1111 000 1 000000 type start\ conf type = 0 : cid type i 200 bits channel seizure & 10 bits mark signal = 1 : cid type ii 10 bits mark signal start\ = 0 : start / continue to demodulate = 1 : stop demodulating (15) (14) (13) (12-8) (7-0) cd err dr 00000 fsk data byte resp cd = 0 : carrier is not detected (fsk signal do not occur on line) = 1 : carrier is detected (fsk signal takes place on line) err = 0 : data buffer is not overflow = 1 : data buffer is overflow dr = 0 : fsk data byte is not ready = 1 : fsk data byte is ready note: 1) the second byte data received by fsk decoder will be considered as the total data length. 2) the first byte sent out are the total length +1 in which the checksum is included. 3) the length for cooked data buffer is 60 bytes long.
47 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 (15-12) (11-9) (8-1) (0) 1111 000 00000000 cas type conf request code = 100 (set response method of cas detected) cas type = 0 : continuous response. response cas behavior fidelity (delay about 55ms) = 1 : response one time. response cas detected after cas is off 55 ms 15 ms cas signal : continuous resp resp one time request code = 101 (set cas sensitivity) (15-0) resp 000000000000000 (15-12) (11-9) (8-3) (2-0) 1111 101 000000 cas_lvl conf (15-0) resp 000000000000000 01234567 sensitivity -32 -34 -36 -38 -40 -42 -44 -46
48 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 request code = 001 or 010 (ack dtmf a or ack dtmf d) (15-12) (11-9) (7-4) (8) (3-0) 1111 ack to gain2 gain1 conf (15-0) resp 000000000000000 gain1, gain2 : 0~14 denote 3db ~ -25db (2db/one step), 15 denotes no related signal. to = 0 output channel codec 0. = 1 output channel codec 1. ack =001 ack dtmf a. =010 ack dtmf d. table 1. performance test for tone detection (noiseless) 0 -3 -6 -10 -20 -30 -33 -36 -39 power (db) p2p (volt) 5 3.54 2.5 1.58 .5 .158 .112 .079 .056 280 hz x x x x x x x x x 300 hz ok ok ok ok ok ok ok x x 400 hz ok ok ok ok ok ok ok ok x 500 hz ok ok ok ok ok ok ok ok x 600 hz ok ok ok ok ok ok ok ok x 640 hz ok ok ok ok ok ok ok x x 670 hz x x x x x x x x x 480+620 hz ok ok ok ok ok ok x x x 350+440 hz ok ok ok ok ok ok x x x * 0 db is defined as the vrms of maximum codec input ** the maximum peak-to-peak voltage (p2p) of codec input is assumed to be 5v
49 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 snr (db) 40 25 12 detect time delay / off time delay (ms) 300 hz 50 / 40 55 / 40 65 / 40 400 hz 40 / 40 40 / 40 45 / 45 500 hz 40 / 40 40 / 40 45 / 45 640 hz 45 / 40 45 / 40 60 / 35 480+620 hz 40 / 40 45 / 40 50 / 40 350+440 hz 45 / 40 45 / 40 55 / 40 * 0 db is defined as the vrms of maximum codec input ** the detect/off time delay is defined as follows detect time delay off time delay input response table 2. resolution test for dual tone (frequency detectable range) range / power -4 db -25 db (300 + f2 hz) f2 > 320 hz f2 > 320 hz (640 + f2 hz) f2 < 620 hz f2 < 620 hz table 3. thd distortion test for dual tone (distortion tolerance) input / power -4 db -25 db (300 + 320 hz) > 10 db > 10 db (640 + 620 hz) > 10 db > 10 db * 0 db is defined as the vrms of maximum codec input
50 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 table 4. call progress tone detector characteristics parameter min typ max unit detection level * -30 db rejection level -37 db frequency range 300 640 hz noise tolerance -12 db thd tolerance -10 db rejection frequency range < 280 hz or > 670 hz minimum signal duration accept 50 ms maximum response time 50 ms * 0 db is defined as the vrms of maximum codec input table 5. dtmf characteristics parameter min typ max unit dtmf signal level for detection * -43 0 db dtmf twist (high/low tone) 9 db dtmf noise tolerance -10 db dtmf tone duration accept 50 ms dtmf interdigit pause accept 50 ms dtmf frequency deviation accept limit 1.5 % dtmf frequency deviation reject limit 3 % tone generator level -25 +3 db tone generator frequency accuracy 0.1 % tone generator level accuracy 0.5 db * 0 db is defined as the vrms of maximum codec input
51 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 table 6. vox threshold db vox_level -9 0 -10 1 -11 2 -12 3 -13 4 -14 5 -15 6 -16 7 -17 8 -18 9 -19 10 -20 11 -21 12 -22 13 -23 14 -24 15 -25 16 -26 17 -27 18 -28 19 -29 20 -30 21 -31 22 -32 23 -33 24 -34 25 -35 26 -36 27 -37 28 -38 29 -39 30 -40 31 -41 32 -42 33 -43 34 -44 35 -45 36 -46 37 -47 38 -48 39 -49 40 -50 41 -51 42 -52 43 -53 44 -54 45 -55 46 -56 47 -57 48 -58 49 -59 50 -60 51 -61 52 -62 53 0 db is defined as the vrms of maximum codec input.
52 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 table 7. silence threshold level silence level db 1 -58 2 -55 3 -52 4 -49 5 -46 6 -43 7 -40 8 -37 9 -34 10 -31 11 -28 12 -25 13 -22 14 -19 15 -16 0 db : maximum input of sinusoidal wave table 8. echo canceller performance * test description final echo return loss improvement (erli) (singletalk mode) > 28 db maximum tail length 12 ms convergence rate (singletalk mode) > 28 db 500 ms after initialization with cleared register and with near-end signal set to zero at initialization time infinite return loss convergence > 28 db return echo loss improvement 500 ms after echo path is interrupted * test signal : band-limited white-noise (300-3400 hz)
53 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 table 9. maximum command response time command max resp time (ms) record mode : 1. start 32 2. normal 6 3. stop 104 play mode : 1. start 14 2. normal 5 3. stop 1 message status mode : 1. get message number 8 2. get flash available time 6 3. get flash garbage collection recommendation status 1 dtmf generator mode 1 line monitor mode 6 delete message mode : 1. delete one message 4300 2. delete all old messages 5800 3. real delete 5500 set current time/voice prompt/silence threshold mode 1 get current time mode 1 initial and test memory mode : 1. flash re-initialization 2400 2. flash initialization/error correction 5800 3. flash garbage collection 150 4. other misc. setting 1 get record message information mode 10 voice prompt mode : 1. start 6 2. normal 5 3. stop 1 voice activity mode 1 personal mail mode 1
54 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 appendix a : cid test report based on sr-3004 1. type 1 testing 1.1 testing items a list of parameters to test based on sr-3004 are divided into two categories: transmission tests and message format tests. transmission tests vary electrical properties of signals to identify when and where cpe fails to detect. the message format tests vary the content and formatting of the data message. the following tests assumes that transmission testing is independent of message format testing. the fsk mode provided on the mx93032-m1 is just responsible to decode the physical layer and data link layer. therefore, only transmission test associated with the mx93032-m1 will be given. for message format tests, it should be tested by "system manufacturers" depending on the their interesting region. 1.2 transmission testing mark frequency space frequency twist immunity noise immunity baud rate 1.2.1 imm unity to frequency and baud rate variation item testing range desired range space 2100hz ~ 2300hz 2178hz ~ 2222hz mark 1100hz ~ 1300hz 1188hz ~ 1212hz baud rate 1150 baud ~ 1250 baud 1188 baud ~ 1212 baud testing condition : signal amplitude at -20dbm for per frequency snr : 40 db signal : for the signal which meets the following each conditions will be send 100 times, the times cpe receive correctly will be recorded. 2100 2150 2178 2222 2250 2300 1100 95 100 100 100 100 100 1150 100 100 100 100 100 100 1188 100 100 100 100 100 100 1212 100 100 100 100 100 100 1250 100 100 100 100 100 100 1300 100 100 100 100 100 80 baud rate = 1188 baud
55 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 2100 2150 2178 2222 2250 2300 1100 100 100 100 100 100 100 1150 100 100 100 100 100 100 1188 100 100 100 100 100 100 1212 100 100 100 100 100 100 1250 100 100 100 100 100 100 1300 100 100 100 100 100 100 baud rate = 1212 baud 1.2.2 t wist immunity range +/- 10 db fix condition: space frequency : 2200 hz mark frequency : 1200 hz baud rate : 1200 baud snr : 40 db signal : for the signal which meets the following each conditions will be send 100 times, the times cpe receive correctly will be recorded. positive twist : (mark > space) mark is fixed to -13 dbm and space vary from -13 dbm to -48 dbm with step 5 db -13 -18 -23 -28 -33 -38 -43 -48 100 100 100 0 0 0 0 0 negative twist : (mark < space) space is fixed to -13 dbm and mark vary from -13dbm to -48 dbm with step 5 db -13 -18 -23 -28 -33 -38 -43 -48 100 100 100 0 0 0 0 0 1.3.4 noise immunity: fix condition: space frequency : 2200 hz mark frequency : 1200 hz baud rate : 1200 baud signal level : -20 dbm signal : for the signal which meets the following each conditions will be send 100 times, the times cpe receive correctly will be recorded. 10 12 14 15 18 20 22 24 0 0 0 100 100 100 100 100 26 28 30 32 34 36 38 40 100 100 100 100 100 100 100 100
56 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 type ii testing the type 2 cpe requires all of the same conformance test as type 1 cpe in addition to "cas detector perfor mance 2.1 cas detector performance there are three types of tests to perform for cas detector performance: signal recognition tolerance ( without speech ) talk off ( false detection due to speech ) talk down (missed detection due to interference from speech ) 2.1.1 signal recognition tolerance parameter nominal minimum maximum lower frequency 2130 +/- 2 hz 2119 hz 2141 hz upper frequency 2750 +/- 2 hz 2736 hz 2764 hz power level -22 +/- 1 dbm -32 dbm -14 dbm twist 0 ~ 2 db 0 db 6 db duration 80 +/- 1 ms 75 ms 85 ms various combinations of the above parameter values will be tested by sending 1000 cas tones to the cpe at a rate not exceeding 2 per second. the various parameter combinations are broken into three groups described as follows. each test combination requires 34 minutes to complete with 1000 burst at a 2 second interval. group 1 consists of all the parameters at their nominal value. group 2 sets each parameter ( one at a time) to its extreme values, while the remaining parameters remain at their nominal value. group 3 sets all parameters to 90% of its extreme value. all of the possible parameter combinations are tested.
57 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 group 1 : test no frequency ( low , high) power level (low , high) duration correct times 1 (2130,2750) (-22,-22) 80 1000 test no frequency ( low , high) power level (low , high) duration correct times 1 (2119,2750) (-22,-22) 80 1000 2 (2141,2750) (-22,-22) 80 1000 3 (2130,2736) (-22,-22) 80 1000 4 (2130,2764) (-22,-22) 80 1000 5 (2130,2750) (-14,-14) 80 1000 6 (2130,2750) (-32,-32) 80 1000 7 (2130,2750) (-14,-20) 80 1000 8 (2130,275) (-32,-26) 80 1000 9 (2130,2750) (-20,-14) 80 1000 10 (2130,2750) (-26,-32) 80 1000 11 (2130,2750) (-22,-22) 75 1000 12 (2130,2750) (-22,-22) 85 1000 group 2 :
58 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 test no frequency ( low , high) power level (low , high) duration correct times 1 (2120,2737) (-31,-31) 76 1000 2 (2120,2737) (-31,-26) 76 1000 3 (2120,2737) (-26,-31) 76 1000 4 (2120,2737) (-15,-15) 76 1000 5 (2120,2737) (-15,-20) 76 1000 6 (2120,2737) (-20,-15) 76 1000 7 (2120,2737) (-31,-31) 84 1000 8 (2120,2737) (-31,-26) 84 1000 9 (2120,2737) (-26,-31) 84 1000 10 (2120,2737) (-15,-15) 84 1000 11 (2120,2737) (-15,-20) 84 1000 12 (2120,2737) (-20,-15) 84 1000 13 (2140,2737) (-31,-31) 76 1000 14 (2140,2737) (-31,-26) 76 1000 15 (2140,2737) (-26,-31) 76 1000 16 (2140,2737) (-15,-15) 76 1000 17 (2140,2737) (-15,-20) 76 1000 18 (2140,2737) (-20,-15) 76 1000 19 (2140,2737) (-31,-31) 84 1000 20 (2140,2737) (-31,-26) 84 1000 21 (2140,2737) (-26,-31) 84 1000 22 (2140,2737) (-15,-15) 84 1000 23 (2140,2737) (-15,-20) 84 1000 24 (2140,2737) (-20,-15) 84 1000 25 (2120,2763) (-31,-31) 76 1000 26 (2120,2763) (-31,-26) 76 1000 27 (2120,2763) (-26,-31) 76 1000 28 (2120,2763) (-15,-15) 76 1000 29 (2120,2763) (-15,-20) 76 1000 30 (2120,2763) (-20,-15) 76 1000 31 (2120,2763) (-31,-31) 84 1000 32 (2120,2763) (-31,-26) 84 1000 33 (2120,2763) (-26,-31) 84 1000 34 (2120,2763) (-15,-15) 84 1000 35 (2120,2763) (-15,-20) 84 1000 36 (2120,2763) (-20,-15) 84 1000 37 (2140,2763) (-31,-31) 76 1000 38 (2140,2763) (-31,-26) 76 1000 39 (2140,2763) (-26,-31) 76 1000 40 (2140,2763) (-15,-15) 76 1000 41 (2140,2763) (-15,-20) 76 1000 42 (2140,2763) (-20,-15) 76 1000 43 (2140,2763) (-31,-31) 84 1000 44 (2140,2763) (-31,-26) 84 1000 45 (2140,2763) (-26,-31) 84 1000 46 (2140,2763) (-15,-15) 84 1000 47 (2140,2763) (-15,-20) 84 1000 48 (2140,2763) (-20,-15) 84 1000 group 3 :
59 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 test no frequency ( low , high) power level (low , high) duration correct times 1 (2120,2750) (-46,-46) 80 0 cas level reject limit 2.1.1.2 talk-down test row signal level speech level snr cas pulses cas pulses derated miss (dbm/tone) (dbm) received sent rate (%) 1 -28 -10 -18 3608 6000 19.933 2 -28 -13 -15 4586 6000 11.7833 3 -22 -10 -12 909 1125 9.6 4 -26 -16 -10 1073 1125 2.311 5 -28 -22 -6 1112 1125 0.5778 6 -22 -19 -3 1124 1125 0.0444 cas level speech -30 dbm -28 dbm -26 dbm -24 dbm -22 dbm -20 dbm -18 dbm -16 dbm -7 dbm 33.5166^ 28.0833^ 22.6500^ 17.2166~ 11.7833 10.3278~ 5.9556~ 1.8778~ -10 dbm 25.3666^ 19.933 14.5000~ 11.0555~ 9.60 2.3111 1.4445~ 0.5778 -13 dbm 17.2166~ 11.7833 10.3278~ 5.9556~ 1.8778~ 1.0111~ 0.4000~ 0.0444 -16 dbm 11.0555~ 9.6 2.3111 1.4445~ 0.5778 0.2222~ 0* 0* -19 dbm 5.9556~ 1.8778~ 1.0111~ 0.4~ 0.0444 0* 0* 0* -22 dbm 1.4445~ 0.5788 0.2222~ 0* 0* 0* 0* 0* -25 dbm 0.4~ 0.0444 0* 0* 0* 0* 0* 0* -28 dbm 0* 0* 0* 0* 0* 0* 0* 0* -31 dbm 0* 0* 0* 0* 0 0* 0* 0* in which the symbols "~" , "^" and "*" represent interpolated, extrapolated and clamped to minimum or maximum, respectively.
60 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 -30 -28 -26 -24 -22 -20 -18 -16 sum -7 0.000129 0.000172 0.000344 0.000731 0.000731 0.000731 0.000731 0.000731 0.0043 -10 0.000774 0.001032 0.002064 0.004386 0.004386 0.004386 0.004386 0.004386 0.0258 -13 0.002973 0.003964 0.007928 0.016847 0.016847 0.016847 0.016847 0.016847 0.0991 -16 0.006684 0.008912 0.017824 0.037876 0.037876 0.037876 0.037876 0.037876 0.2228 -19 0.0088 0.01184 0.02368 0.05032 0.05032 0.05032 0.05032 0.05032 0.296 -22 0.006684 0.008912 0.017824 0.037876 0.037876 0.037876 0.037876 0.037876 0.2228 -25 0.002973 0.003964 0.007928 0.016847 0.016847 0.016847 0.016847 0.016847 0.0991 -28 0.000774 0.001032 0.002064 0.004388 0.004386 0.004386 0.004386 0.004386 0.0258 -31 0.000129 0.000172 0.000344 0.000731 0.000731 0.000731 0.000731 0.000731 0.0043 sum 0.03 0.04 0.08 0.17 0.17 0.17 0.17 0.17 1 weighted average detection rate for all 72 level combinations given above talkdown condition 1 -- the combination of average signal level (-22 dbm /tone) and average speech level (-19 dbm). at least 99.5% of the signals sent should be received correctly using derated missed rate. talkdown condition 2 -- the weight average of the worst one percent of the 72 combinations. at least 93% of the signal sent should be received correctly using the derated missed rate. talkdown condition 3 -- the weighted average of all of the 72 combinations. at least 99.5% of the signal should be received correctly using derated missed rate.\ statistical talkdown result: condition 1 (nominal) : 99.956 % ( spec. >= 99.5% ) condition 2 (worst 1 %) : 83.784 % ( spec. >= 93 % ) condition 3 (global) : 99.005 % ( spec. >= 99.5%)
61 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 row near end hits no on near testing time far end speech hits no on far testing time speech level end speech level (dbm) end speech (dbm) 1 -10 8 96 2 -16 5 96 -16 5 96 3 -22 3 96 -22 3 96 2.1.1.3 talk-off test talkoff test raw data: far end speech -13 dbm^ -16 dbm -19 dbm~ -22 dbm -25 dbm^ -28 dbm^ -31 dbm^ -7 dbm^ 0.0729 0.0677 0.0625 0.0573 0.0521 0.0469 0.0417 -10 dbm 0.0729 0.0677 0.0625 0.0573 0.0521 0.0469 0.0417 -13 dbm~ 0.0651 0.0599 0.0547 0.0495 0.0443 0.0391 0.0339 -16 dbm 0.0573 0.0521 0.0469 0.0417 0.0365 0.0313 0.0260 -19 dbm~ 0.0521 0.0469 0.0417 0.0365 0.0313 0.0260 0.0208 -22 dbm 0.0469 0.0417 0.0365 0.0313 0.0260 0.0208 0.0156 -25 dbm^ 0.0417 0.0365 0.0313 0.0260 0.0208 0.0156 0.0104 -28 dbm^ 0.0365 0.0313 0.0260 0.0208 0.0156 0.0104 0.0052 -31 dbm^ 0.0313 0.0260 0.0208 0.0156 0.0104 0.0052 0 n e a r e n d s p e e c h ~ interpolated ^ extrapolated
62 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 -13 -16 -19 -22 -25 -28 -31 sum -7 3.07e-5 9.013e-5 0.0002528 0.0005126 0.0008063 0.000915 0.0016925 0.0043 -10 0.0001842 0.0005408 0.001517 0.0030754 0.0048375 0.0054902 0.0101549 0.0258 -13 0.0007076 0.0020771 0.0058271 0.0118127 0.0185813 0.0210885 0.0390058 0.0991 -16 0.0015908 0.0046699 0.0131006 0.0265578 0.041775 0.0474118 0.0876941 0.2228 -19 0.0021134 0.0062042 0.0174048 0.0352832 0.0555 0.0629888 0.1165056 0.296 -22 0.0015908 0.0046699 0.0131006 0.0265578 0.041775 0.0474118 0.0876941 0.2228 -25 0.0007076 0.0020771 0.0058271 0.0118127 0.0185813 0.0210885 0.0390058 0.0991 -28 0.0001842 0.0005408 0.001517 0.0030754 0.0048375 0.0054902 0.0101549 0.0258 -31 3.07e-5 9.013e-5 0.0002528 0.0005126 0.0008063 0.000915 0.0016925 0.0043 sum 0.00714 0.02096 0.0588 0.1192 0.1875 0.2128 0.3935 1 weighted average of all 63 combinations talkoff condition 1 : the combination of average near-end level (-19 dbm) and the average far end level (-28 dbm). this talkoff rate should be less than 1 in 45 hours talkoff condition 2 : the weighted average of the worst one percent of the 63 combinations. the talkoff rate should be less than 1 in 10 hours. talkoff condition 3 : the weighted average of all of the 63 combinations. the talk off rate should be less than 1 in 35 hours. tested result : condition 1 (nominal ) : 1 hit per 38.4 hours ( spec. >= 45 hours) condition 2 (worst 1 %) : 1 hit per 16.79 hours ( spec. >= 10 hours) condition 3 (global) : 1 hit per 35.73 hours ( spec. >= 35 hours) 3. recommendation: all of the test results corresponding to talkdown given above are obtained by configuring our demo board to "adjunct model". that is, our demo board was connected directly to the tip and ring on which the far end speech and far end cas has been mixed. therefore, there is no way to tell speech signal from the cas on that testing configuration adopted by us. for practical application, near end speech instead of far end speech should occur on talkdown test. if the mixed signal captured from tip and ring can be subtracted from the source signal captured from the near end speech with proper gain. then the snr of resultant signal will be highly improved on adjusting the impedance match between cpe and spcs adequately. according to our experience, if the quantity of the echo canceller can excess 6 db, the performance of cas detector embedded on 93032-m1 will meet the bellcore specification for talkdown. the feature of echo canceller will be inherently possessed by phone mode, there will be additional circuit to implement echo canceller for adjunct model.
63 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 appendix b : operation guide for the 93032-m1 demo board 1. introduction: the evaluation board (evb) is provided by macronix is to demonstrate both digital speakerphone, caller id and dam functions. there are four parts in evb: 1. main module with label "a001-bd-0038a" 2. dsp module with label "a001-bd-0031b" 3. daa module with label "msp-pcb-010a" 4. mcu module with label "a001-bd-0040a" the key pad is arranged into six kinds of definitions: 1. dam mode keys: the power on default key function to demo dam record/play/etc functions. 2. speakerphone mode keys: press "spk phone on" in dam mode to enter speakerphone mode. user can dial dtmf, set loudspeaker / lineout volume or mute line-out signal. 3. speaker test mode keys : press "test mode" key in speakerphone mode for 1 second to enter this mode which allows user to set all the speakerphone bios parameters through key pad. 4. cpe alerting signal (cas) test : press "cas test" and last for 1 second in dam mode to enter cas test mode. during this mode , the number of cas signal received from tip and ring will be counted and represented on lcd display. 5. caller id typeii test mode: press "cas test" within 1 second in dam mode to come into caller id type ii test mode. after coming into this mode, 93032-m1 will monitor line and detect the cas signal presented on line. the dtmf will be sent out as the cas was found, following the fsk will be decoded and showed on lcd. 6. encoding mode selection : press "enc. select" in dam mode to switch the encoding mode either 4.8 k or 12.8 k. 7. flash re-initialization : press "flash re-init." in dam mode to perform flah re-initialization
64 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 2. matrix key definition: key pad under dam mode (power on default mode) ann1 on/off play ann2 ann3 code/ff time/ stop memo/ rev spk.phone on/off enc. select cas test flash re-lnit. del 12 3a 45 6b 78 9c 0f ed key pad in speaker phone mode : 12 5 4 7 lout vol + 0 lout vol - spk.phone off mute lout/ test mode spk vol + spk vol - 8 12 3 3 a 45 6 6 b 78 9 9 c 0f ed
65 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 key pad in speaker phone test mode : key pad in caller id test mode : current loop att set pre_pga set ad1_pga set line_drv set spk_drv set ad2_pga set att1 set aec_erl exit test mode target loop att + target loop att - set t/r ratio set r/t ratio set lec_erl 12 3 a 45 6b 78 9c 0f ed forward caller id data stop backward caller id data caller type ii/cas test r/c dump cid 12 3 a 45 6b 78 9c 0f ed
66 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 key pad definitions under dam/caller id mode: no function press method 1 ogm1 play press within 2 sec ogm1 record and play press over 2 sec 2 turn on dam press 3 raw/cook data select press within 2 sec dump caller id data press over 2 sec 4 ogm2 play press within 2 sec ogm2 record and play press over 2 sec 5 play all message press within 2 sec play new message press over 2 sec 6 7 8 delete current message played press 9 0 show and announce password press within 2 sec set password press over 2 sec forward (for playing message and setting password) press a flash re-initialization press b cas test press c enc. selection press e record memo press over 2 sec rewind (for playing message and setting password) press f announce time stamp press stop press
67 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 key pad definitions under speaker phone mode : no function press method 1 generate dtmf "1" press 2 generate dtmf "2" press 3 generate dtmf "3" press 4 generate dtmf "4" press 5 generate dtmf "5" press 6 generate dtmf "6" press 7 generate dtmf "7" press 8 generate dtmf "8" press 9 generate dtmf "9" press 0 increase line out volume press a increase speaker volume press b decrease speaker volume press c mute line out press within 2 sec enter test mode press over 2 sec d turn off speaker phone press e decrease line out volume press f generate dtmf "0" press key pad definitions under speaker phone mode (test mode) : no function press method 1 show current loop attenuation press 2 set line_drv (mx93002 codec) press 3 set t/r ratio press 4 5 set ad2_pga (mx93002 codec) press 6 set r/t ratio press 7 set prg_pga (mx93002 codec) press 8 set_att1(mx93002 codec) press 9 sel lec_erl press 0 set ad1_pga press a target loop attenuation up press b target loop attenuation down press c exit test mode press d e set aec_erl press f set spk_drv(mx93002 codec) press
68 p/n:pm0689 rev. 1.0.3, dec. 13, 1999 mx93032 erl_aec & erl_lec : range from 0 to 30 with 2 db/step speaker phone related bios parameters 0000 00001 0010 0011 0100 0101 0110 0111 0 db 2 db 4 db 6 db 8 db 10 db 12 db 14 db 1000 1001 1010 1011 1100 1101 1110 1111 16 db 18 db 20 db 22 db 24 db 26 db 28 db 30 db note: the default value of erl_lec and erl_aec are 0 db. t/r & r/t ratio 000 001 010 011 100 101 110 111 3 db 6 db 9 db 12 db 15 db reserved reserved reserved note : 12 db is default value spk_gain & line_gain : range from -20 to 20 0000 00001 0010 0011 0100 0101 0110 0111 -20db -16 db -12 db -8 db -4 db 0 db 2 db 4 db 1000 1001 1010 1011 1100 1101 1110 1111 6 db 8 db 10 db 12 db 14 db 16 db 18 db 20 db loop attenuation (conf) : range from 0 to 28 with 4db/step 000 001 010 011 100 101 110 111 0.db 4 db 8 db 12 db 16 db 20 db 24 db 28 db
m acronix i nternational c o., l td. headquarters: tel:+886-3-578-8888 fax:+886-3-578-8887 europe office: tel:+32-2-456-8020 fax:+32-2-456-8021 japan office: tel:+81-44-246-9100 fax:+81-44-246-9105 singapore office: tel:+65-747-2309 fax:+65-748-4090 taipei office: tel:+886-3-509-3300 fax:+886-3-509-2200 m acronix a merica, i nc. tel:+1-408-453-8088 fax:+1-408-453-8488 chicago office: tel:+1-847-963-1900 fax:+1-847-963-1909 http : //www.macronix.com macronix international co., ltd. reserves the rignt to change product and specifications without notice. mx93032


▲Up To Search▲   

 
Price & Availability of MX93032-MI

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X